package com.example.newsmanager.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId
    private String userId;
    private String nickname;
    private String avatar;
    private String password;
    private String gender;
    private Integer age;
    private Integer userType;
    private Timestamp loginTime;
    private Timestamp registerTime;
    private String email;
    private String signature;
}
